package com.jiazhong.commons.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@NoArgsConstructor
@Data
public class Emp implements Serializable {
    private Integer empNo; // emp_no
    private String ename;
    private String job;
    private Integer deptNo;
    private Integer mgr;
    private String hireDate;
    private Double sal;
    private Double comm;
    private Integer state;

    private Double minSal;
    private Double maxSal;

    public Emp(Integer empNo, String ename, String job, Integer deptNo, Integer mgr, String hireDate, Double sal, Double comm, Integer state) {
        this.empNo = empNo;
        this.ename = ename;
        this.job = job;
        this.deptNo = deptNo;
        this.mgr = mgr;
        this.hireDate = hireDate;
        this.sal = sal;
        this.comm = comm;
        this.state = state;
    }
}
